<html><head><title>EventDropImage</title></head>
<body bgcolor="#FFFFDF" link="#009999" vlink="#006666" alink="#006666">
<font face="Arial" size="2"><p align="center"><b><font size="4">EventDropImage()</font></b></p>
<p><b>Syntax</b></p><blockquote>
Result = <font color="#006666"><b>EventDropImage</b></font>(#Image [, Depth])</blockquote>

</blockquote>
<b>Description</b><br><blockquote>

After a <font color="#924B72">#PB_Event_GadgetDrop</font> or <font color="#924B72">#PB_Event_WindowDrop</font> is received by 
<a href="../window/waitwindowevent.html">WaitWindowEvent()</a> or <a href="../window/windowevent.html">WindowEvent()</a> with a 
format (can be get with <a href="eventdroptype.html">EventDropType()</a>) of <font color="#924B72">#PB_Drop_Image</font>, 
this function can be used to retrieve the dropped image. 

</blockquote><p><b>Parameters</b></p><blockquote>
<style type="text/css">
table.parameters { border-spacing: 0px; border-style: none; border-collapse: collapse; }
table.parameters td { border-width: 1px; padding: 6px; border-style: solid; border-color: gray; vertical-align: top; font-family:Arial; font-size:10pt; }
</style>
<table width="90%" class="parameters">
<tr><td width="10%"><i>#Image</i></td>
<td width="90%"> 
The number for the new image to create. 
<a href="../reference/purebasic_objects.html">#PB_Any</a> can be used to auto-generate this number. 

</td></tr>
<tr><td><i>Depth (optional)</i></td>
<td> 
The color depth for the new image. Supported values are 24 and 32-bit. 24-bit is the default. 

</td></tr>
</table>
</blockquote><p><b>Return value</b></p><blockquote>

Returns nonzero if the image was successfully created and zero if not. If <font color="#924B72">#PB_Any</font> was used 
for the #Image parameter then the generated number is returned on success. 

</blockquote><p><b>See Also</b></p><blockquote>

<a href="enablegadgetdrop.html">EnableGadgetDrop()</a>, <a href="enablewindowdrop.html">EnableWindowDrop()</a>, 
<a href="eventdroptype.html">EventDropType()</a>,  <a href="eventdropaction.html">EventDropAction()</a>, 
<a href="eventdropx.html">EventDropX()</a>, <a href="eventdropy.html">EventDropY()</a> 

</Blockquote><p><b>Supported OS </b><Blockquote>All</Blockquote></p><center><- <a href=eventdropfiles.html>EventDropFiles()</a> - <a href=index.html>DragDrop Index</a> - <a href=eventdropprivate.html>EventDropPrivate()</a> ->

</body></html>